package com.per.mybootall.webService;


import com.per.mybootall.webService.server.ServerHello;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2021/11/15
 * Time: 10:27
 * Description:
 */
@Component
@EnableScheduling
public class testWebServiceJob {


//    @Scheduled(cron = "0/10 * * * * ?")
//    public void exeCute(){
//        System.out.println("执行客户端调用服务端-----------------》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》");
//        ServerHello serverHello=new ServerHello();
//        String name=serverHello.getValue("袁永焱");
//        System.out.println("返回的值为："+name);
//    }
}
